package org.jeecg.modules.demo.soSettlement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.soSettlement.entity.SoSettlement;
import org.jeecg.modules.demo.soSettlement.entity.SoSettlementVo;

import java.util.List;

/**
 * @Description: so_settlement
 * @Author: jeecg-boot
 * @Date:   2021-12-15
 * @Version: V1.0
 */
public interface SoSettlementMapper extends BaseMapper<SoSettlement> {

    SoSettlement getBySosNo(String sosNo);

    SoSettlement getSoSettleBySosNo(String sosNo);

    List<SoSettlement> getBysoNo(String id);

    List<SoSettlementVo> queryXsqsBymonth();

    List<SoSettlementVo> querySrfx(@Param("beginTime")String beginTime,@Param("endTime")String endTime);

    List<SoSettlement> getByfpNo(String invoiceNo);

    List<SoSettlement> getYjsd(String soNo);

    SoSettlement getBySqoNo(String qoNum);
    List<SoSettlement> getList();
    public String getMaxCode();
	
	public List<SoSettlement> getWriteOffDetails(String str);

    List<SoSettlement> getHxnoBySosNo(String sosNo);
}
